package com.matt.domain.rel;

import com.matt.commons.model.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/8/3
 * *******************************
 */
@Entity
@Data
@Table(name = "rel_area_live_room")
@EqualsAndHashCode(callSuper=true)
public class RelAreaLiveRecord extends Model{

    @Column(columnDefinition = " varchar(32) COMMENT '园区ID' ")
    private String areaId;

    @Column(columnDefinition = " bit DEFAULT 1 COMMENT '摄像头签到开关 1为需签到' ")
    private Boolean cameraEnabled = true;

}
